Modified to support multiple tags file