Started to create a cache of meta-data for the directory structure. I think we will need to save this to an xml file. Otherwise once the server shuts down it won't know which files are public and private.