Modified sfs_ls function to be like printroot.