updates to the server to accept files properly
updates python code to work with new server code