Added promise to load_data_file, renamed upload.js