add file with specification of output files