Enhanced getting patterns from control file