Some little fixes - upload, newFile