record mask coordinates in file names
convert threeB output to coordinates
trim coordinates