add .gitignore to ignore files and remove backup file