load_file now takes a string object