fn search_for_metadata<'a>(
    path: &Path,
    bytes: &'a [u8],
    section: &str
) -> Result<&'a [u8], String>