Added interface to chunk read by defining both memory and file space