diff --git a/code/media/koowa/com_files/js/files.tree.js b/code/media/koowa/com_files/js/files.tree.js
index <HASH>..<HASH> 100644
--- a/code/media/koowa/com_files/js/files.tree.js
+++ b/code/media/koowa/com_files/js/files.tree.js
@@ -116,6 +116,34 @@ if(!Files) var Files = {};
 
             this.tree('selectNode', node);
         },
+        /**
+         * Append a node to the tree
+         * Required properties are 'id' and 'label', other properties are optional.
+         * If no parent specified then the node is appended to the current selected node.
+         * Pass parent as null for adding the node to root
+         *
+         * Previous code:
+         *
+            Files.app.tree.selected.insert({
+                text: row.name,
+                id: row.path,
+                data: {
+                    path: row.path,
+                    url: '#'+row.path,
+                    type: 'folder'
+                }
+            });
+            Files.app.tree.selected.toggle(false, true);
+         *
+         * @param data
+         */
+        appendNode: function(data){
+            $.extend(data, {foo: 'bar'});
+
+            console.log(data);
+
+            return this;
+        },
 
         attachHandlers: function(){
re #<I> adding appendNode API for easy adding of nodes that are user created