check only files, and eliminate double reporting