Save stuff to files
Training data now gets saved to a file
Error samples also get saved to a file for later analysis