fn extract_timestamp_from_session_dir(
    directory_name: &str
) -> Result<SystemTime, &'static str>