anchor.diff:  	</aui:row>
   	<aui:row>
   		<aui:col width="100">
  -			<aui:input name="<%=DossierFileDisplayTerms.DOSSIER_FILE_UPLOAD %>" type="file"/>
  +			<aui:input name="<%=DossierFileDisplayTerms.DOSSIER_FILE_UPLOAD %>" type="file">
  +				<aui:validator name="acceptFiles">
  +					<%
  +						if (fileTypes == StringPool.BLANK){
  +					%>
  +							'<%= StringUtil.merge(PortletPropsValues.ACCOUNTMGT_FILE_TYPE) %>'
  +					<%
  +						} else {
  +							String[] fileTypeArr = fileTypes.split("\\W+");
  +					%>
  +							'<%= StringUtil.merge(fileTypeArr) %>'
  +					<%
  +						}
  +					%>
  +				</aui:validator>
  +			</aui:input>
   		</aui:col>
   	</aui:row>
   	
  
positive.code: <%@page import="org.opencps.dossiermgt.NoSuchDossierException"%>
  <%@page import="com.liferay.portal.RolePermissionsException"%>
  <%@page import="javax.portlet.PortletPreferences"%>
  <%@ include file="/init.jsp"%>
  
  <%
  
negative.code: 		
  		// Validate size and type file upload
  		
  		var maxUploadFileSizeInMb = <%=maxUploadFileSizeInMb %>;
  		var maxUploadFileSizeInByte = maxUploadFileSizeInMb*1024*1024;
  		
  		var fileUploadSizeInByte = 0;
  		
  		$('#<portlet:namespace />dossierFileUpload').on('change', function() {
  			fileUploadSizeInByte = this.files[0].size;
  		});
  		
  		if(agreeButton) {
  