Use correct getter method for FileChooser widget