Results now outputted to file, includes types