Fix arguments

There was a problem when the directory containing the pathfile contained spaces (eg: "/var/this was not working/foo/pathfile")