remove old files
build 3 with logging