When passing data over from a Web App to an Express server, the fs root resides under the Web App directory and NOT the server's root directory. Therefore, the first writeFile parameter must point to a directory outside the server directory, or link over to the server file tree.