Test for files

Add a couple of tests to check the existence of user given files.

This silences any potential errors that can happen if the options for them are not given.

Also prevents scripts failing if 'set -e' were set.