FIX: upper case transitions
FIX: upload handler leaking files