Refactored so that each week a new file of share details will be created automatically.