protected function canImportFile($path) { return strlen($path) < PHP_MAXPATHLEN && @is_file($path) && is_readable($path); }