changed back to localFileSystem insetad of window.temp