If left-to-right is your main concern, observe that the post you replied to uses
<file command
command <file