!CHAPTER Module "fs" !SUBSECTION File System Module The implementation follows the CommonJS specification [Filesystem/A/0](http://wiki.commonjs.org/wiki/Filesystem/A/0). @startDocuBlock JS_Exists @startDocuBlock JS_IsDirectory @startDocuBlock JS_IsFile @startDocuBlock JS_List @startDocuBlock JS_ListTree @startDocuBlock JS_Move @startDocuBlock JS_Read @startDocuBlock JS_Read64 @startDocuBlock JS_Remove @startDocuBlock JS_MakeDirectory @startDocuBlock JS_GetTempFile @startDocuBlock JS_GetTempPath `fs.join(path, filename)` The function returns the combination of the path and filename, e.g. fs.join(Hello/World, foo.bar) would return Hello/World/foo.bar. `fs.pathSeparator` If you want to combine two paths you can use fs.pathSeparator instead of */* or *\\*. @startDocuBlock JS_Size @startDocuBlock JS_RemoveDirectory `fs.write(filename, content)` Writes the content in a file.