Added the cleaning of debug files so there aren't millions of debug output to read through