Toolkit for storing files and attachments in web applications