Change upgrade process to store counter in database *requires database upgrade*
Add empty file storage directories