Enable file sharing
Add helper method to save file
Save file when test finished