Fixed serious bug; now actually uploads file contents instead of the names of the files