optimize files for combined delivery