def METHOD_NAME(check_singlefile_content):
    """Fixture to check the content of a SinglefileData before and after .store().
    Checks the content of a SinglefileData node against the given reference
    content and filename twice, before and after calling .store().
    """
    def inner(node, content_reference, filename, open_mode='r'):
        check_singlefile_content(
            node=node,
            content_reference=content_reference,
            filename=filename,
            open_mode=open_mode,
        )
        node.store()
        check_singlefile_content(
            node=node,
            content_reference=content_reference,
            filename=filename,
            open_mode=open_mode,
        )
    return inner