Register port file after connecting to port