Issue #2296237 by er.pushpinderrana: Replace check_plain() to Drupal\Component\Utility\String::checkPlain() in file module.