BUGFIX: LOGDIR instead of LOGFILE && manage imported files differently