HELP!! if statements

I am kind of new in Unix and i have to make a menu. I want to put an if statement in the menu. you should enter the filename and it goes to that file. How do i do this?

Have you searched the archives of this forum? I'm sure there have been many menu scripts posted.

Why do you want an if statement?

What does "goes to that file" mean?