Add gate file with hdfs compare function.