@Override
public void initialize(InputSplit split, TaskAttemptContext context) throws IOException, InterruptedException {
FileSplit fileSplit = (FileSplit)split;
Path p = fileSplit.getPath();
eth = new EthernetDecoder();
if (p.toUri().getScheme().equals("file")) {
path = p.toUri().getPath();
File file = new File(path);
is = new PcapFileInputStream(file);