Fixed read_table_file function to properly handle quoted strings.