Upload a xml file everytime the file is changes through a socket