Implements a way to modify filepaths.

Closes #1.