} else {
// Render a download link for file
VFSContainer courseFolder = userCourseEnv.getCourseEnvironment().getCourseFolderContainer();
VFSItem downloadItem = courseFolder.resolve(file);
if (file != null && downloadItem instanceof VFSLeaf) {
DownloadComponent downloadComp = new DownloadComponent("downloadComp", (VFSLeaf) downloadItem);
VelocityContainer peekviewVC = createVelocityContainer("peekview");
peekviewVC.put("downloadComp", downloadComp);
putInitialPanel(peekviewVC);
} else {
// boy, can't find file, use an empty panel