sends files again. Needs to optomize memory