Dynamic input file name

Please refer below post. You'll get entire problem. Need your assistance.

Thanks in advance, Magnus !