Sequence led with txt file

NEED HELP
i have mega.5led.1button and txt file…"seq.txt"on my sdcard.
iwant to control sequence of led on using txt file…how code for it…great hopefull please.thamk you.
Txt file content is 1.2.3.4.5.
Star led no1 on…press button.led 1 off…led2 on…press button…led2of…led3on…until led 5 and loop back to led 1 continuesly.
if txt file change…1.4.2.1.5…
Ita mean sequence.is led1.led4.led2.led1.led5 back to led1…

6 posts were merged into an existing topic: Need help.txt controlled led