Added directory browsing and file viewing