add the ability to pass an array of file paths