lists files in a given dir