def METHOD_NAME(self, target_files, rev):
    result = {}
    for definition_file in target_files:
        if os.name == "nt":
            source_file = _normpath(definition_file).replace("\\", "/")
        else:
            source_file = definition_file
        file_content = (
            self.data.get(rev, {})
            .get("sources", {})
            .get("data", {})
            .get(source_file, {})
            .get("data", {})
        )
        if file_content:
            result[definition_file] = file_content
    return result