local filename = getpath(username, host, datastore, ext, true);
local ok;
local f, msg = io_open(filename, "r+");
if not f then
local filename = getpath(username, host, datastore, ext, true);
local ok;
local f, msg = io_open(filename, "r+");
if not f then