File Editing

I made a program that allows the user to edit (or append to) a file they previously created. If the user enters a wrong name or misspells the file name, how would I make the program check to see if the file exists w/out creating a brand new file?

Help, please and thank you!
Topic archived. No new replies allowed.