Specify file or folder

Ability to specify a folder e.g.

$ triple chapter1
$ triple chapter2

Triple looks for app.js in the folder.