First pass at resolving file names.

Closes #11.