function prefix. new function cat_local_or_remote_file
allow local (a/myfile.xml, file://a.xml, file:///a.xml) or remote file (http://..., https://...) argument. more clean up.