Simplified the chunk file reader