localfilename from remotefilename, and for remotefilename from localfilename when the other one is not supplied.
== TRUE' tests and convert