fixed file reader
edited .gitignore