Fix crash file path always being folderName

Due to ?? precedence