 
 	_parsefile: (cb, self = @) ->
 		func_parsefile = (data_array) ->
-			# parse file array here
+			results = []
+			
+			switch self.mode
+				when 'kinetics'
+					
+				else
+					self.error "Unsupport mode!"
+
 			cb data_array
 
 		self._loadfile func_parsefile, self


	set_datafile: (data_file) ->
		fn = path.resolve data_file
		fs.exists fn, (exists) ->
			@datafile = if exists then fn else null
			@raise_error "File #{data_file} does not exist." unless exists

	set_filetype: (filetype) ->
		filetype = filetype.toLowerCase()

	prh = new PlateReaderHelper
	prh.set_datafile argv.file
	prh.set_filetype argv.filetype
	prh.set_outputfile argv.output if argv.output
	prh.set_mode argv.mode
	prh.process()

