add thrift file