Changed importData so that the entire contents of the field are
replaced by the pathname of an imported file instead of inserting the
pathname at the caret position.