protected static function split($i, $s){
        $fs = filesize($i);
        //$bn = basename($i);
        //$dn = dirname($i).DIRECTORY_SEPARATOR;
        $p = 1;
        
        for($c = 0; $c < $fs; $c = $c + $s){
            $data = file_get_contents($i, FILE_BINARY, null, $c, $s);
            //$fn = "$dn$bn.$p";
            $fn = "$i.$p";
            file_put_contents($fn, $data);
            $p++;
            unset($data);
        }
        unlink($i);
        return $p - 1;
    }