def METHOD_NAME():
    with pytest.raises(IOError):
        vaex.open('doesnotexist')
    target = os.path.join(path, 'data', 'small2.csv.hdf5')
    vaex.open(csv2, convert=True)
    assert os.path.exists(target)
    _cleanup_generated_files()
    # convert and open several CSVs
    target = os.path.join(path, 'data', 'small2.csv_and_1_more.hdf5')
    vaex.open(os.path.join(path, 'data', 'small*.csv'), convert=True)
    assert os.path.exists(target)
    assert os.path.exists(h51)
    assert os.path.exists(h52)
    vaex.open(os.path.join(path, 'data', 'small?.csv.hdf5'))
    _cleanup_generated_files()
    # convert and open several "big" CSVs
    vaex.open(os.path.join(path, 'data', 'small*.csv'), convert=True)
    assert os.path.exists(target)
    _cleanup_generated_files()
    # convert can also be a path
    target = os.path.join(target_path, 'convert.hdf5')
    if not os.path.exists(target_path):
        os.makedirs(target_path)
    vaex.open(os.path.join(path, 'data', 'small*.csv'), convert=target)
    assert os.path.exists(target)
    assert os.path.exists(h51)
    assert os.path.exists(h52)
    vaex.open(os.path.join(path, 'data', 'small?.csv.hdf5'))
    _cleanup_generated_files()
    target = os.path.join(target_path, 'custom.hdf5')
    vaex.open(os.path.join(path, 'data', 'small*.csv'), convert=target)
    assert os.path.exists(h51)
    assert os.path.exists(h52)
    assert os.path.exists(target)
    _cleanup_generated_files()
    # be nice to users when converting from unsupported format
    with tempfile.NamedTemporaryFile(suffix='.json') as in_f:
        in_f.write(b'[]')
        in_f.flush()
        with pytest.raises(IOError) as exc:
            vaex.open(in_f.name, convert=target)
        assert 'Cannot open' in str(exc.value)
    assert not os.path.exists(target)