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);
    }