public static void main(String[] args){
        Server server = null;
        String filePath = null;
        int port;

        if(args.length == 0){
            System.err.println("No queue file specified");
            usage();
            System.exit(-1);
        }

        if(args.length == 1){
            filePath = args[0];
            server = new Server(filePath);
        }

        if(args.length == 2){
            port = Integer.parseInt(args[1]);
            server = new Server(filePath,port);
        }
        server.start();
    }