Add filename class.

Adds basic filename class which can be used to test existance of files
and open them for reading/writing.