fix to cleanup logfiles

previous issue:
* delete log files

This change will copy null file to log files.