uploads output files correctly