adding transform and multiple file support