[WIP?] exposing the file cache as public api

@icewind1991 please have a look - I'm not too happy to expose all these interfaces - any idea to get this leaner? THX