Add get_output_filename().
Update get_output_filename() docstring.
Hook get_output_filename() into code.