Can not connect to servers following file modifications [duplicate]

Solution 1:

Over at mojang you can check the server status. When all services are up, the problem probably exists at your end.
Since you said you deleted some file on accident, try to replace this file (go to your recycle bin and restore the file).
If this doesn't fix it, try reinstalling Minecraft. This should fix your problem.