making SaveLocalDocument method public