Add thrift file