curried acumulator files