Added file adapter and match modules, implemented the APIs