Implementation of grep & inter process communication