Refactor ignore files.