Fixed importFile bug