most of the logic is done..can even gzip uploaded files