def _get_event(event_file_name):
if event_file_name == STDIN_FILE_NAME:<EOL><INDENT>LOG.info("<STR_LIT>")<EOL><DEDENT>with click.open_file(event_file_name, '<STR_LIT:r>') as fp:<EOL><INDENT>return fp.read()<EOL><DEDENT>
Read the event JSON data from the given file. If no file is provided, read the event from stdin.

:param string event_file_name: Path to event file, or '-' for stdin
:return string: Contents of the event file or stdin