为什么会只能向下递归一层?java基础

我想实现对文件夹的遍历输出,递归向下遍历输出

package TestIO;

import java.io.File;

public class TestIOFile {

public static void main(String[] args) {
    File path = new File("G:\\eclipse\\workspace\\muke");
    new TestIOFile().ss(path);
}

public void ss(File path) {
    File fl;
    for (String st : path.list()) {
        fl = new File(st);
        if (fl.isDirectory()) {
            ss(fl);
        } else {
            System.out.println(st);
        }

    }

}

}

这样看看

public void ss(File path) {
    File[] files = path.listFiles();
        if (files != null && files.length  > 0) {
    for (File fl : path) {
        if (fl.isDirectory()) {
            ss(fl);
        } else {
            System.out.println(st);
        }
    }}
}