           if fs.existsSync( mainFile )
             return true
     return false
-    
-  
+  
+  ###*
+  * checks if specified uri is the uri of a project's MAIN file 
+  * @param {String} uri absolute uri of the path to check
+  * @return {Object} "true" if given uri is a project's main file, "false" otherwise
+  ###
+  isFileProjectMainFile:( uri )=>
+    if fs.existsSync( uri )
+      stats = fs.statSync( uri )
+      if not stats.isDirectory()
+        parentDir = path.dirname( uri )
+        baseName = path.basename( uri )
+        
+        stats = fs.statSync( parentDir )
+        if parentDir is baseName and stats.isDirectory()
+          return true
+    return false
+    
   #OLD #TODO: should project "class" instanciation take place here or else where ?????
   ### 
   saveProject:( project, path )=> 


logger = require "usco-kernel/logger"
logger.level = "debug"
  
class LocalStore extends StoreBase
  constructor:(options)->
    options = options or {}

      return true
    
    return promise
  
  ###*
  * delete the item at the given uri
