Initial implementation of getUploadFiles [ci skip]