[openRootFile] Fix case sensitivity and handling of relative paths
New script: texdoc