Introduction - If you have any usage issues, please Google them yourself
The function(or the code)finds the number of .bas(can be used for .txt or any other file format)contained in a folder and stores the directory path in an array. This can be later used for accessing the file. This reduces the manual intervention and helps in automating stuff.