added functions to recover erasure coded data