add PushToFile class.