I have several files in a folder: 01.PNG, 02.PNG, 05.PNG, some of the files do not have (04.PNG, 03.PNG).
What would be the easiest way to write a text document where each filename would be written to the same line number:
So:
01.PNG
02.PNG
05.PNG
NOTE THAT THE MISSING FILES, the lines have just been skipped!