pub fn open_file<P: AsRef<Path>>(path: P, oo: &OpenOptions) -> Result<File>