changes to support file-based worndet methods