def METHOD_NAME(file_repository):
    file_name = "test.txt"
    file_contents = b"Hello World!"
    file_repository.save_file(file_name, io.BytesIO(file_contents))
    file_repository.delete_all_files()
    with pytest.raises(repositories.FileNotFoundError):
        file_repository.open_file(file_name)