Threadify file logger, handle save files form cmdline

fixes #638
You didn't include those in the PR (?)