Updated FileIO and logging interface