Removed data files
Added functionality to data recording functions