Changed style of some comments. Added checking, if file is really deleted. Added some scripts for automatized testing