modify the .gitignore file for ignoring the swap file