public static function pathExists($path, $type = null)
{
if ($type == "asset") {
return Asset\Service::pathExists($path);
} elseif ($type == "document") {
return Document\Service::pathExists($path);
} elseif ($type == "object") {
return Object\Service::pathExists($path);
}
return;
}