code: public static function removeEntriesFromFile($file, $entries) {
          $properties = self::readFromFile($file);
          if (is_string($entries)) {
              unset($properties[$entries]);
          } else {
              foreach ($entries as $i => $key) {
                  unset($properties[$key]);
              }
          }
          self::saveToFile($file, $properties);
      }
docs: Removes entries to a java xml properties file.
  
  @param mixed $file a path or a File
  @param array $entries The entries to remove.
  
  @api