Remove old PutFile code