Allow the first condition to be a remote name.

In this case the second parameter is for the file name