updated code to use virtual file system instead of direct against disk