enable user to input filename by typing '-f filename' argv