use vfs to store macro