:required => true statement is removed. It is causing a problem. Text file become empty before submitting after pressing 'Create Share' button and it causes js validation error.