/**
 * Get file basename without extension.
 * @function task.worker._basenameWithoutExt
 * @param {string} filename - File name.
 * @returns {string} - Basename without extension.
 * @author Taka Okunishi
 *
 */
var path = require('path');
module.exports = function (filename) {
    var srcExt = path.extname(filename);
    return path.basename(filename, srcExt);
};