Rename ResourceManager.addResource to writeFile; this will be able to be overwritten by the concrete RenderManager class to store the file to disk or database, if appropriate.