Integrate two files into one