fixed file/str concatenation