cmd listener file cleanup

removing dead code