cleanup of file io

Mostly fileparams, also the protoclass Logger
better logger

improving logger class
more logger work

now with sample log
update the MD file