Handy little script that will properly format an XML file (especially large file size) for better readibility.  I made some attempts with PHP and Python, but without spending large amounts of time dev'ing a script, Bash and the terminal save the day.

NOTE: The file size will be larger on the output file once run.  I believe this is due to the whitespace and line returns.