delete txt and add pm file