.gitignore + check for file existence