File cleanup bug fixed

File clean up has now been fixed
The hourly file and the combined one are created at the same time