read prefix set from file