Consider expanding file types beyond PNG, PDF, and TXT. We can create a dictionary to map extensions to destination folders.