status related cleanups in core.file