public function removeMimeFromPath($path) { $res = substr($path, strpos($path, '/') + 1); return $res; }