Added .gitignore.
Cleared the _fileData dictionary after all checks so that the files can be re-read in case of changes.