Fix filename validation. Validators now also throw, not process.exit (easier to test).
throw
process.exit