support multiple specifications in text file