Start to generalize trivial-validate.py input

Previously. trivial-validate.py took either a single specified
file or all the files in a specified directory. Seth pointed out
that we can generalize it to take a list of files / directories.