function
function thread_func added
fonction send_file added