Rm clean function invoking