file searching in cmd mode fixed