On Windows & Web, there shareFiles() method is not implemented (yet, at least for Windows). Therefore, sending schedule file to the email might be a suitable substitute.
shareFiles()