pub fn hash_directory<'a>(
    children: impl Iterator<Item = &'a File>,
    hash: &mut GeneralHash
) -> Result<u64>