list.files minor fix