dotNet fixes - now loads dmasks from file rather than having it hardcoded. \