made many changes, checking uploadFileEntry.