Use File.separator to make paths work on any OS

With the previous approach the .mtl and .png files end up in the parent folder with a backslash in the middle of the file name (at least on my Linux machine).