Refactoring: extract readFile method from openFile
Fix internal change (save/save as) bug, now compare content of the file to detect a meaningfull change
Remove process events from openFile (cause bug with filewatcher)