Split table selection into its own file