Add option to show the file name of the log

In order to pass this to a text editor, stream must be edited like:
echo 'ssh\nfn' | ./view_log.pl | tail -1
to get only the file name.