Added check for gitignore file