Allow people to download files only when the form is submitted