forgot the quit() in file mode. updated .gitignore