split file mapper into file mapper and grep mapper