For some reason test file creates file called 0. Changed makefile to delete it.
Now it sends the marjority of the file.