 
         objs = {}
 
-        lines = fs.readFileSync(@fx.dirname + '/tsvs/' + filename, 'utf8').split('\n')
+        lines = fs.readFileSync(@dirname + '/tsvs/' + filename, 'utf8').split('\n')
 
         tsv = (line.split('\t') for line in lines)
 

    ###*
    @constructor
    ###
    constructor: (@fx, @name, setting = {}) ->

        @dependencies = setting.dependencies ? []
        @data = setting.data ? ->

        # loading model files
        @fxModelMap = {}

        dirnames =
            if options.dirname?
                if Array.isArray options.dirname
                    options.dirname
                else
                    [ options.dirname ]

            else
                [ __dirname + '/fixtures' ]

        for dirname in dirnames
            files = fs.readdirSync(dirname + '/data')

            for file in files
                modelName = file.split('.').shift()
                setting = require(dirname + '/data/' + file)

                @fxModelMap[modelName] = new FixtureModel(@, modelName, setting, dirname)


        # initial data pool
