Errors correction in FilesManager.
Errors correction in PeersManager.