listFile implementing