add mode for hdfs fileInfo