Refactor/clarify mergeToDisk()