file duration metod added