added check for AA file in multi file merge