Create README.md
Revert "open file juste one time, and move file responsability into log file"
fix compilation problems