Added ability to take in an output filename rather than default