def file_path_from_request(request_obj):
    """Extract the file path from the incoming request object."""
    if request_obj:
        # return request_obj["file_path"].replace("%20", " ")
        return request_obj["file_path"].replace("%20", " ").rstrip("/")
    return None