Small defect fixed - when last symbols of file found - redundant dots after that were printed(because of absence \r and \n)