updated embedMongoFile