Output now goes to a file instead of the terminal