split selection into its own file