added struct for local file to output information