linking all the files