pub fn make_toc<P>(file_path_in: P, cnf: Config) -> Result<String, Error>where P: AsRef<Path>,
takes a file path as String and returns a table of contents for the file
String