Expose file_type field in user interface

Suggestion for issue #8 

One step further might be to include some end-to-end acceptance tests including mixed language simulation.