snaplet to serve a tempolary file with time limit.