Try to ignore files correctly.