implemented share file with a friend onclick