writeAllLayersToSingleFile

Writes all layers to a single file.