Rewrite plugin to pre-load data files into memory