#213: file download action added to file controller (JS updated, too).