Simplify string_of_file.