add source and output files