Add function to open transfer file