add support to load file to buffer
improve .gitignore