diff --git a/camera-server/src/io-interface/readline-interface.ts b/camera-server/src/io-interface/readline-interface.ts
deleted file mode 100644
index a6c6a03cf00b0f7e8d3771c9fe04ab8bf435adee..0000000000000000000000000000000000000000
--- a/camera-server/src/io-interface/readline-interface.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import * as readline from 'readline';
-
-export const readlineInterface = readline.createInterface({
-    input: process.stdin,
-    output: process.stdout,
-    terminal: false
-});
diff --git a/camera-server/src/server.ts b/camera-server/src/server.ts
index 975ca77f38006ae111adc9a2935873257030c35c..a4d4bea625e13b165111603dd85f92b8b9dabd87 100644
--- a/camera-server/src/server.ts
+++ b/camera-server/src/server.ts
@@ -1,9 +1,9 @@
 import { Socket } from 'socket.io';
+import * as readline from 'readline';
 
 import { socketIO } from './socket-io/socket-io';
 import { handleSenderInit } from './socket-io/handlers/sender-handlers';
 import { handleQueryState } from './socket-io/handlers/common-handlers';
-import { readlineInterface } from './io-interface/readline-interface';
 import { handleCommand } from './io-interface/handlers/input-handlers';
 import { registerCleanupLogic } from './util/cleanup';
 import { room } from './janus/janus-room';
@@ -23,6 +23,12 @@ import { room } from './janus/janus-room';
         socket.on('sender_init', handleSenderInit.bind(null, socket));
     });
 
+
+    const readlineInterface = readline.createInterface({
+        input: process.stdin,
+        output: process.stdout,
+        terminal: false
+    });
     readlineInterface.on('line', handleCommand);
 
     registerCleanupLogic();