make sure files get closed
remove dead static noop method