Currently, the client detects file arguments with a simple heuristics: an argument that does not start with - and corresponds to an existing file is considered a file argument.
This may break in rare situations where an existing file correspond to an argument name.