added xah fn for file path copy.