file sharing script