some cleaning in file import, logs and verbosity