Added the import code for simple text files and fixed the log