Delete files after processing
Add log message function
Use log message function