Clean up output generation with file paths.