groovy file check