Made cleanup in files:) And connections to server