was not generated correctly!\n');
                this.deleteFile(name_cur);
                status = rmdir(drv.path_out); %#ok<NASGU>
                return;
            end
            
            % Compare contents of files
            file_ref = javaObject('java.io.File',name_ref);
            file_cur = javaObject('java.io.File',name_cur);
            is_equal = javaMethod('contentEquals','org.apache.commons.io.FileUtils',file_ref,file_cur);
            if (is_equal)
                fprintf(1,'\nTest 