Split different matches searching algorithms into different modules.
Implemented file processing prototype.