pub(crate) fn for_each<E>(
    f: impl Fn(&StaticFile) -> Result<(), E>
) -> Result<(), E>