stubs for file types, also other cleanup and debugging