moving all data into a separate file