made a working multithreaded sserver for files. after rust bugfixes