The `file_get_contents()` function itself will trigger an error if it can't load the file. You should use `is_file()` and/or `is_readable()` beforehand.