Handle the case where multiple files are given