add gitignore and remove a tmp file