As JS on a browser doesn't have access to files, we just write stuff in memory. It is also useful for tests.