solve the problem of firstSet and optimizate the test program so that you can type the filename