In parse_spec, check that the filename is the same as the API name
Updated to latest spec