removing empty lines
Change dpmDetector: removing inefficient directory handling