enable choice of file or folder in finder