implement a file_exists function

Add a `file_exists` function to allow conditional includes of files with the `file_contents` function. (See Issue #34.)