def parse_configuration(file="/etc/pandora/pandora_server.conf", separator=" "):
    """
    Parse configuration. Reads configuration file and stores its data as dict.

    Args:
    - file (str): configuration file path. Defaults to "/etc/pandora/pandora_server.conf". \n
    - separator (str, optional): Separator for option and value. Defaults to " ".

    Returns:
    - dict: containing all keys and values from file.
    """
    config = {}
    try:
        with open (file, "r") as conf:
            lines = conf.read().splitlines()
            for line in lines:
                if line.startswith("#") or len(line) < 1 :
                    pass
                else:
                    option, value = line.strip().split(separator)
                    config[option.strip()] = value.strip()

        return config
    except Exception as e:
        print (f"{type(e).__name__}: {e}")