Cleaned the detector directory