Grab file and output averages.