Implemented temp file read in create ave activity