Update gitignore
Add file helper functions