Add .directory to the gitignore file