improves stability of server with checking of file existance on server