Code improvement.

Uploading XML and stored succes
Adding requirements for uploading

Size; Type;