human
Solve the following python programming problem given the following code:
@pytest.fixture(scope=u'function')
def remove_cheese_file(request):
assistant
#Here is the Python code you requested.

    """Remove the cheese text file which is created by the tests.
    """
    def fin_remove_cheese_file():
        if os.path.exists(u'tests/files/cheese.txt'):
            os.remove(u'tests/files/cheese.txt')
    request.addfinalizer(fin_remove_cheese_file)