retrieve the name of a clicked file