survey_filename can now be a pandas object