Improving NWholeFileInputFormat