removing files that should be ignored