public function hasFile($name)
    {
        //See if it makes sense to use dot notation
        if (isset($_FILES[$name])) {
            $file = $_FILES[$name];
            return isset($file['tmp_name']) && file_exists($file['tmp_name']) && is_uploaded_file($file['tmp_name']);
        }
        return false;
//        return $this->files->has($name);
    }