Move file appstruct enhancement from DocumentEditForm to FileEditForm, refs #242.