pub fn load(file_path: &str) -> Option<VariableMap> {
    match fs::read_to_string(file_path) {
        Ok(contents) => Some(get_variable_map(contents)),
        Err(_) => None,
    }
}
/// Convenience function for `get_variable_map`. This reads the contents of the file given and parses into the variable map.
/// If contents of file could not be read, this returns `None`.
Convenience function for `get_variable_map`. This reads the contents of the file given and parses into the variable map.
If contents of file could not be read, this returns `None`.
Convenience function for ` get_variable_map ` . This reads the contents of the file given and parses into the variable map . If contents of file could not be read this returns ` None ` .
pub fn load(file_path: &str) -> Option<VariableMap> {
    match fs::read_to_string(file_path) {
        Ok(contents) => Some(get_variable_map(contents)),
        Err(_) => None,
    }
}
pub fn load ( file_path : & str ) -> Option < VariableMap > { match fs :: read_to_string ( file_path ) { Ok ( contents ) => Some ( get_variable_map ( contents ) ) , Err ( _ ) => None , } }
Convenience function for `get_variable_map`.
Convenience function for ` get_variable_map ` .
file_path
&str