added file number to import loop