some minor refactoring

removed some complexity of data_file_controller#data