Function gatherDependOnFileViolations