print -e $inputfile ? "OK, file found\n" : qq{ERROR: file "$inputfile" not found\n}; #### Drag and drop a file here: /Users/cow/Downloads/104937653.pdf ERROR: file "/Users/cow/Downloads/104937653.pdf " not found