router allows file extentions
add support for writing static img files