def read_script(path):
    """
    Reading script from path and remove empty string.
    """
    with open(path, 'r') as f:
        raw = f.read().strip()
    raw_components = ((id+1, line.strip()) for id, line in enumerate(raw.split('\n')) if (line.strip()))
    return raw_components