The MongoFile plugin provides a MongoFileService that saves, retrieves and deletes files from a MongoDB file store. Furthermore, the domain classes have methods injected to handle these files.
Each file is stored in a MongoDB collection (bucket), named after the domain class name.