added new INFILE, created option to visualize data