drop use of catfile()