<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_file_from_tree(tree, file_path):
 """Remove a file from a tree. Args: tree A list of dicts containing info about each blob in a tree. file_path The path of a file to remove from a tree. Returns: The provided tree, but with the item matching the specified file_path removed. """

    match = None
    for item in tree:
        if item.get("path") == file_path:
            match = item
            break
    if match:
        tree.remove(match)
    return tree