Fixing typo and completing findMappingFiles method

I think the method was incomplete and contained a typo.