pub fn create_and_open_local_file(
    path: &'static Path,
    cx: &mut ViewContext<'_, Workspace>,
    default_content: impl 'static + Send + FnOnce() -> Rope
) -> Task<Result<Box<dyn ItemHandle>>>