File(this,drv)
            <span class="comment">% Check if current results file exist</span>
            name_cur = strcat(drv.path_out,drv.name,<span class="string">".pos"</span>);
            <span class="keyword">if</span> (exist(name_cur,<span class="string">'file'</span>) ~= 2)
                fprintf(2,<span class="string">'\nCurrent results file was not generated correctly!\n'</span>);
                this.deleteFile(name_cur);
                status = rmdir(drv.path_out); <span class="comment">%#ok