dir = getDirectory (" Choose a directory ") ; list = getFileList(dir) ; for (i=000; i