Added debug option to makefile
Fixed makefile, added debug print
Adapted file_senders_do
Changed some function names