key handler add and file merge ps