Exporttofile merge