now also reading and sending a file is working