extract API changes for a single file