async fn get_file_modified(file: &Path) -> Result<Duration>