Simple file client and server written in Python