Last commits put in an issue in DataServices.java and GroovyBaseScript.groovy. I should have used SecuredUpload::isValidFileName with dataResourceName and SecuredUpload::isValidFile with objectInfo. This fixes that. Also fixes formatting checkstyle issues in SecuredUpload class. Also fixes formatting checkstyle issues in SecuredUpload class and move allow all and check line length in right places (it's about content)