Remove newline in string_from_file