Add readPartial function, add file types to entry
Change way files are gathered, so that gatherDir can be called at any time
Change resourceLoader to get resources out of fileCache