Driver.write method now takes a filename as parameter
This changes has been made to make input-output file mapping easier
Cleared out Driver.main