files updated

server input working, output fails