clean up jamesfile