pulling out rudimentary file verification tools, constants about mdata files to their own file
better error tracking.  Exit test of mdata11 read on error.
removed a hardcoded value in validPath
better error reporting in validPath