refactored data_file_loader in anticipation of better standard handling