<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_migration_files(self, path):
 """ Get all of the migration files in a given path. :type path: str :rtype: list """

        files = glob.glob(os.path.join(path, "[0-9]*_*.py"))

        if not files:
            return []

        files = list(map(lambda f: os.path.basename(f).replace(".py", ""), files))

        files = sorted(files)

        return files