I guess that is the problem. I am not sure that the dataset will always be the second directory. The directory structure most often looks like the APR21-TCCC-0003. The APR will always appear as standard the 21-TCCC-0003 can change but will always follow the convention of 2 alpha-numerics dash 4 alpha-numerics dash 4 alpha-numerics. Thanks for any and all help on this.