Added cleanup process after converting a file