Create fileSend finction