Retreives files, paging bug fix and upload files. Fixed bug for creating entities