added file upload and redirect examples