working on looping through file_types, not complete