Update CheckFileExists

Reworked this routine to run as a function that returns a boolean value. 
Included basic error checking of file paths.