function _getName(fullname, extension) {
        return extension !== "" ? fullname.substring(0, fullname.length - extension.length - 1) : fullname;
    }
@private

Returns the name of a file without its extension.

@param {string} fullname The complete name of the file (not including the rest of the path)
@param {string} extension The file extension
@return {string} The fullname without the extension