+++Error handling in importFiles.js