public function moveFile($file, $originalFolder, $newFolder)
    {
        if (substr($originalFolder, -1) != '/') $originalFolder = $originalFolder . '/';
        if (substr($newFolder, -1) != '/') $newFolder = $newFolder . '/';
        $this->copyFile($originalFolder . $file, $newFolder . $file);
        $this->deleteFile($originalFolder . $file);
    }