public function findOriginalFileToVersion(File $file)
    {
        if(!$this->containsFile($file)){
            return null;
        }

        preg_match("/([^-]+)(-.*)?/", $file->getBasename(), $matches);
        $ext = $file->getExtension() == ""?"":".".$file->getExtension();
        return new FileImpl($file->getParentFolder()->getAbsolutePath()."/".$matches[1].$ext);
    }