cached FileSizes
safety measures
write json files into public/data/