Added custom fileupload support