remove interim files