Added support of file size and name sending to client