Save file to disk