created a variable to check if a tool processed a file and if didn't don't publish
moved variable into constructor