diff --git a/Wc b/Wc
index 15698478922ff0906eaced616ba3352c376927dc..afde4ac0ff3f60057722451018ad852015c7ba90 100755
Binary files a/Wc and b/Wc differ
diff --git a/src/TcpSocket.cpp b/src/TcpSocket.cpp
index 1890cd87af3f3e6d84011c73f7f0eb00a73c82bb..37feaf55d4484966a275340dc54f71729af96bc6 100644
--- a/src/TcpSocket.cpp
+++ b/src/TcpSocket.cpp
@@ -133,7 +133,7 @@ void TcpSocket::sendFile(string ip, string port,
 
 void TcpSocket::sendLines(string ip, string port, string execfile, string readfile, string prefix, int start, int end)
 {
-	int sockfd = 0, lineCounter = -1; numbytes = 0;
+	int sockfd = 0, lineCounter = -1, numbytes = 0;
 	if ((sockfd = createConnection(ip, port)) == -1) return;
 	//exec, read, start, tmp, prefix
 	vector<string> unDirectory = splitString(readfile, "-");
@@ -156,8 +156,6 @@ void TcpSocket::sendLines(string ip, string port, string execfile, string readfi
 		perror("send");
 	}
 	sleep(1);
-	ifstream file(getMostRecentFile(readfile).c_str());
-    string str;
     while (getline(file, str))
     {
 		lineCounter++;