Adding random chunk retrieval and immediate write to disk