server.py accepts also .json-files