Add deleteTempFiles function and tests
0.0.6