csv view now accepts a file name and field_names to put in table