pre file merge