deleteFiles
Deletes all given file names from a Directory.:contentReferenceoaicite:5{index=5} Some of the names may be null; they are ignored. After deletion, throws the first exception encountered (with others suppressed) if any failures occurred.
Parameters
dir
Directory to delete files from
names
file names to delete