Fixed line that created wrong filpaths