Accept inputfile with the flag '-i' for short cmds