Now can use detector file.