The main purpose of serverdir() is to check that the command line argument for server # was provided. It can definitely have an empty value if the user didn't add the argument. It centralized that check and message.