Jun is right, KarlG did it ....
have a look at the docs of it
http://cvs.openacs.org/cvs/*checkout*/openacs-4/packages/acs-content-repository/www/doc/index.htmlOr review some systems that use it to get an idea, file-storage is an example. If you are storing things that you probably want to have multiple versions, *easy* integration with search, and more important, avoid repeating the same code everytime you need it for uploading and storing images, files, or text data in a consisten way, use it pls.