Added the logging facility when importing files