/// This function can returns one of the following errors:
/// * [IoError::Read] if the file with the provided `name` can't be read
/// * [IoError::EmptyData] if the file is empty
pub fn load(name: &str) -> Result<String> {
    let config_file = get_config_file(name, true)?;
    let content = fs::read_to_string(config_file)?;

    if content.is_empty() {
        Err(IoError::EmptyData)
    } else {
        Ok(content)
    }