Added xml and midi upload