check to see if data from dictionary is already a file