import and create instances for each file type found