Code for splitting and compressing file in hadoop