Simulating old selectInput/Output/Folder.