Migrate file

Instead of saving all of the restore scripts as a java variable, it is
not stored as a cli file and transfered to the new router on which it is
run. Hopefully this will stop some commands from being truncated