Good morning, people.
There is a program that prints PDF files that are in a predefined directory.
The problem was happening because there were two hidden files folder and the program was trying to print and burst the error as the print below:
How do I check if the file found in the folder is hidden?