Select a file or folder