Added support of file uploads (closes #106)