simplify NLST and LIST