updated the .gitignore file
Also, I had some logic backwards with reading/writing/deleting files.