Remove superfluous Filename class.
Add docstrings.