Manipulating data from SQW files