File upload improved