detect change in the file, while sending

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>