public bool CanViewFile(File file)
 {
     return file.GetType() == typeof(File);
 }