added jake tas to create and clearn temporary files dir
extracted generated dir into own constant
made server accept file to serve, updated tests