diff --git a/pom.xml b/pom.xml
index 697b999..0610fd1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,9 +45,6 @@
maven-surefire-plugin
2.22.1
-
- -Dfile.encoding=UTF-8
-
maven-checkstyle-plugin
diff --git a/src/main/java/com/github/hcsp/multithread/FileDetector.java b/src/main/java/com/github/hcsp/multithread/FileDetector.java
new file mode 100644
index 0000000..6dfc027
--- /dev/null
+++ b/src/main/java/com/github/hcsp/multithread/FileDetector.java
@@ -0,0 +1,52 @@
+package com.github.hcsp.multithread;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.CountDownLatch;
+
+public class FileDetector extends Thread {
+ List