Now we can load patterns from files.