add support for multiple opt specs per file