added filename parser