public static void makeDirs(Socket socket){
        try {
            // Read how many dirs need to be made
            int numDirs = Integer.parseInt(readLine(socket));

            //Make each directory
            for(int i = 0; i < numDirs; i++){
                // Read the dir name on the server
                String dirName = readLine(socket);
                System.out.println("Making directory " + dirName);

                File dir = new File(dirName);
                if(dir.exists()){
                    // Do nothing
                } else {
                    // Make the directory
                    if(dir.mkdir() == false){
                        System.err.println("Unable to make dir " + dirName);
                    }
                }
            }
        } catch (NumberFormatException e) {
            System.err.println("Unable to parse the number of Dirs to create");
            System.err.println(e);
        }
    }