attempt to fix LowLevelFile, minor code reuse