[PTFM-7309] Migrate dxpy to new file API