added cleanup method to remove transient files in /tmp