Optionally delete all files with an extension