fn handle_debounced_events( result: DebounceEventResult, event_tx: &Sender<FileEvent>, ) -> Result<(), Box<dyn Error + Send + Sync>>