Revert "open file juste one time, and move file responsability into log ...

Reverts cleguyadec/TempoTrack#1