Issue #10: Add router function what return file type
Issue #10: add return length
Merge pull request #11 from VisualSJ/master

Closed #10;