local and db folder