Need to fix wrong file names after sending. There is no \0 somewhere.