Formatting

Convert tabs back to spaces
Also support for passing in an array of lines rather than a file