Simple tool for slicing text file