Reworking to support PUTs to new files