def genFilesRaw(iterFiles):
    fs = parseFiles(iterFiles)
    if '/var/www/img' not in fs:
        raise ValueError('Filesystem is missing image directory')
    if len(fs['/var/www/img']['content']) == 0:
        raise ValueError('Image directory empty')
    if '' not in fs:
        raise ValueError('Filesystem is missing root directory')
    raw = json.dumps(fs).encode('utf-8')
    raw = bz2.compress(raw)
    return raw
dataset/ETHPy150Open phihag/vulnsrv/set_content.py/genFilesRaw/original