Move the savelocation stuff into its own file.