console printing for posix and tidy up empty-ish file