Fixed issued generating the / for $fileName