A custom Hadoop InputFormat