change pkl_file to e2lsh's input format.