Check if mappingFile exists. Fix #46