def do_files_comply(actual_in_files, actual_out_files):
    """Check if the 'in' files correspond to the 'out' files by names."""
    expected = set(map(lambda x: x[:-3] + '.out', actual_in_files))
    return not expected.difference(set(actual_out_files))