Add support for custom files in webapp.