Script to merge files together