upload code and datafile