decode encode wsq files