My app contains documents in its database. The users can open the documents in which case, the document gets saved to a temporary folder and gets opened on the
I'm trying to do some processing on whether the user enters a (1) file name, or (2) directory name into the command line. Anything else should throw an error.