pub fn open_import(root: &Path, requested: &Path) -> Result<File>
Open the validated source and recheck the opened object’s type.