write disk per file