Export and Prepare the Updated File