fn read_scope_from_file(manifest: &Manifest, file: &File) -> Result<Scope>