pub fn read_path(input_path: PathBuf) -> Result<Box<dyn Read>, Error>