test if a file already in the repo can be ignored. Set the ignore file