stubbing out import and write files