add missing validateInputFile function

[git-p4: depot-paths = "//depot/private/jchin/HBAR-DTK/": change = 121908]
add a missing function