removed  listFiles2
minor changes