support lol migrate to file mode