updated load_from_file to the new bulk API