Modifications for file upload without menu.