Changed use of filename text to path text
Added scaladoc to describe constructor parameter properly