improved cleanup tool, removing filelist keys when deleting folder (was left to rot before)