<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _find_files(directory):
 """ Find XML files in the directory """

    pattern = "{directory}/*.xml".format(
        directory=directory,
    )
    files = glob(pattern)
    return files