pub fn open_view<F: AsRef<Path>>(filename: F) -> Result<Ref<BinaryView>, String>