def METHOD_NAME(old, new):
    """
        Compares provided rdf files and creates two new rdf files with all differences:
        'only_in_file1' and 'only_in_file2'
        ONLY WORKS FOR TRIPLES, NOT QUADS
    """
    # Construct both triple graphs from rdf files
    graph1 = Graph()
    graph1.parse(old)
    graph2 = Graph()
    graph2.parse(new)
    # Make isomorphic
    iso1 = to_isomorphic(graph1)
    iso2 = to_isomorphic(graph2)
    # Diff both graphs
    # As graph_diff uses graph canonization this can be very time consuming!
    # Hence, a simpler, but potentially less accurate diff of the non-canonizated graphs is used
    #in_both, in_first, in_second = graph_diff(iso1, iso2)
    in_both = iso2 * iso1
    in_first = iso1 - iso2
    in_second = iso2 - iso1
    # Write differences to files
    fp1 = os.path.join(old[:old.rfind('\\')], 'common_triples.ttl')
    fp2 = os.path.join(old[:old.rfind('\\')], 'only_in_old.ttl')
    fp3 = os.path.join(old[:old.rfind('\\')], 'only_in_new.ttl')
    in_both.serialize(fp1, format="ttl")
    in_first.serialize(fp2, format="ttl")
    in_second.serialize(fp3, format="ttl")