filegetter loop