Working migrate file