added privacy flag support, fixed date storage. fileDate moved to import_meta
added basic pagination