Fixed some Bugs + main bug

the createFile command used the write file command. This resulted to
duplicate ignoreModify events (and misbehaviour)
.gitignore