         
     }
     
+    //function to display the default file (a file type that hasn't been implemented yet)
+    
     func displayDefaultFile (fpath: Path)
     {
         imageDisplay.hidden = true
         fileInfo.hidden = true
         scrollView.hidden = true
     }
+    
+    
+    // function to display an image
     
     func displayImageFile (fpath: Path)
     {

        //fileInfo.hidden = false
    }
    
    func displayDirectory (fpath: Path)
    {
        type.stringValue = "Directory"

        }
    }
    
    // function to display a text file
    
    func displayTextFile (fpath: Path)
    {
        textStorage = NSTextStorage()
