Add osfile.jsm import, and remove debugging lines