title: How to check if given argument for file reading is valid?
body: <p>I am taking in an argument using fopen. What are some checks I can do to make sure that fopen actually takes in the string to a valid filename?</p>