NOJIRA Added utility to check for valid file paths

See https://github.com/collectiveaccess/providence/issues/184