separate processing registration to another file