Implement the files field in filechooser

The files field wasn't actually implemented in filechooser. This fixes it.