Fixed an issue when trying to import files