removed old detect file