def callback(fname, fcontents):
    """
    The callback to apply to the file contents that we from HDFS.
    Just prints the name of the file.
    """
    print("Fname:", fname)
    return fname, fcontents