Changed code to use Slurp

Chaged file handlind to Slurp functions.
Added GROUPID