changing to allow a collection of files/directories