The launch configuration dialog is
Am I right that if one needs the input from a file then output also goes into a file? Why it must be the same file? I do not see any option to have two separate connections.
The UI is admittedly confusing, but the file will only be used for output. There's no similar way to use a file as input, thus the "necessary for input" hint.
See: