added file & folder selection for links