A script to extract data from .res files from UNICORN software