added delete folder errorcode
added deleted flag set in folder table upon creation of entry
filepath constructed from latest folder data instead of possibly stale file info data