function get_source_name(filename, output_filename, fallback) {
	return output_filename ? get_relative_path(output_filename, filename) : get_basename(filename);
}
@param {string} filename
@param {string | undefined} output_filename
@param {string} fallback