some fixes, and started uploadFile