added removal for temporary files