Add a GetListOfFilesInDir() helper method which replaces the old