Improved FileUpload helper method

Also added methods for thumbnails, textbox editors, email editor and
text area editor.