read file over serial