Local file is created and then copied to share