Fixed upload for larger files