def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def step_impl(context, name, field):
    context.request.add_file(context.helpers.file_path(name), field)