Removed even more generated files...
Added solution by Marc Philipp
Corrected files creation. Added files deletion. General cleanup of unused stuff.