Removing file after successful process stop