Added PAT Marketing code to extract file