widget demo prompts the user to select a file (called by 'widget')