@Override
	public void run() {
		initializeLogger();
		this.log.info("Message receiver started");
		this.currentThread = Thread.currentThread();
		this.log.info("Get current thread");
		String line = null;
		while (true) {
			this.log.info("before readLine from inputMessageReceiver");
			line = readLine();
			this.log.info("after readLine from inputMessageReceiver");
			if (line == null) return;
			if (line.startsWith("500 file from")) {
				startReceivingFile(line);
			}
			this.log.info("print line: "+ line);
			System.out.println(line);
		}
	}