Added ability to pass in an array of files into any of the methods (rather than a root location)