If you have brackets – [ or ] – in your file name you can see problems working with the file name. This is how to deal with brackets in file names.
Consider the files:
outdata01.txt
out[data02.txt
out]data03.txt
out]d[ata04.txt
which have a selection… Read the full text.