fixing problem with files being ignored