Added more error checking, and renamed an argument to better convey what it is.
I added support for wildcards. If you don't provide an argument, it defaults to "*.v*", to handle all logfiles and save files.
*.v*