create folder before writing interface file