Made the --data-file switch work