pub fn read(filename: PathBuf) -> Result<Vec<u8>, Error>