Updating source file check to test for existence of file not just a string being passed.