In a directory, "Global" I have muliple files and directories. The file names are not consitant. They might or might not have extension, there's upper and lower case letters along with numbers in the filename.
abc.txt
aBCd
abcd124fg
123ABCD.csv
I would like to check, If there are any files in the "Global" directory then just list all the file names but not the directories. Is this possible since I don't know what the file name will be?