Issue #10: Add router function what return file type