Saves and retrieves files associated with domain instances in MongoDB GridFS