def compare_content(fpath1, fpath2):
    """Tell if the content of both fpaths are equal.

    This does not check modification times, just internal bytes.
    """
    with open(fpath1, 'rb') as fh1:
        with open(fpath2, 'rb') as fh2:
            while True:
                data1 = fh1.read(65536)
                data2 = fh2.read(65536)
                if data1 != data2:
                    return False
                if not data1:
                    return True