I am working on a script to process data on some flat files and I need a way to select just the first file in the directory where the files are located based on the name of the file. the files will be ordered alphabetically. Once the file is process it is removed from the directory so later in my script I look to see if there is still files in the directory and process again if there are. As always thanks for the assistance!!!