Create a utility method for this _getFiles and return either the files array or a Promise