<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write_migration(self, creator, name, table, create, path):
 """ Write the migration file to disk. """

        file_ = os.path.basename(creator.create(name, path, table, create))

        return file_