Added separate options for file nodes and folder nodes