Modified for Dedicated FileBased version.

Signed-off-by: DrWhatNoName <drwhat@cryto.net>