Server now keeps track of the current directory; file_upload returns json dir info