Allow %s to be optional in validate

In the case where some external program doesn't need the filename passed in.