def delete_file(instance, filefield_name):
    file_instance = getattr(instance, filefield_name)
    if file_instance:
        DatabaseFileStorage().delete(file_instance.name)
Test the seek functionality.
dataset/ETHPy150Open victor-o-silva/db_file_storage/db_file_storage/model_utils.py/delete_file--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/sqlite_blob_file_io.py/SQLiteBlobFileWithConditionTest.testSeek