module: fix to send only the bytes read from file - no more no less