pub fn read_file(file: &PathBuf) -> Result<usize, Error>
will attempt to read the configuration file.