Added handling for some unsupported options.

Also added some tests.
Added support for file type selection.
Merge pull request #7 from mwoghiren/file-system

File system additions.