if($query->uploadInfo($query->param($p))) { is file } else { isn't }