Adding support for putting a file