Hi there @beginner,
think (at least I hope) I understand your idea/request but how should user select an non-existing file? All user can do is type name for new file and that is exactly what String Configuration node can be used for.
Here is topic with same request from a week ago:
Also you can add Value Selection Configuration node into this component where user can choose file extension.
Br,
Ivan