This script will remove files from a folder. it can be either a single file or a multiple files.
dirPath = r"C:\ProgramData\abc"# provide the file path
f1="xyz.exe,abc.zip,new.txt,123.txt"# provide the file name along with its format
You can also remove hidden files which were specified in f1 list also.