remove unnecessary file and write it .gitignore