add assert check and change Makefile
add checking for exists of a file