removed JFile usage