Use a file instead of memory