cleaned up code, multilevel folder access