Scan files to find whether certain text pattern exists