Search a pattern in files using cms line