Avoid temporary file where possible
Mention line number with respect to RST file
Clean up output