def does_file_exist(fname):
    try:
        f = open(fname)
        f.close()
        return True
    except IOError:
        return False
Figure out if we'll be able to read this file.
dataset/ETHPy150Open openstack-infra/os-loganalyze/os_loganalyze/generator.py/does_file_exist