echo substr($filename, strripos($filename, '.'),strlen($filename));