Added capability to add more than one filename at the same time.