remove generation of file of nbRows is -1