pub fn read_layout_file(path: &Path) -> Result<LayoutDoc, String>
Read and parse a layout file, refusing anything too large to be one.