code: public static WrapSeekable<FSDataInputStream> openPath(
  		FileSystem fs, Path p) throws IOException
  	{
  		return new WrapSeekable<FSDataInputStream>(
  			fs.open(p), fs.getFileStatus(p).getLen(), p);
  	}
docs: A helper for the common use case.