Fix bug in find coverage file method, add filter by .json