     if currentString.length > 0
         numberOfPoints = currentString.length / pointSize
         startInterval = previousInterval - (step * (numberOfPoints - 1))
-        console.log 'packing', startInterval, currentString
         packedStrings.push([startInterval, new Buffer(currentString, 'binary')])
 
-    # FIXME!!!
-    # currentString is an array with tuples of arrayer of data
-    # convert to buffers before writing
-
-    console.log 'APA1'
     # Read base point and determine where our writes will start
     packedBasePoint = new Buffer(pointSize)
     fs.read fd, packedBasePoint, 0, pointSize, archive.offset, (err) ->
         cb err if err
-        console.log 'APA2'
         [baseInterval, baseValue] = pack.Unpack(pointFormat, packedBasePoint)
 
         if baseInterval == 0

archiveInfoFormat = "!3L"
archiveInfoSize = pack.CalcLength(archiveInfoFormat)

# FIXME: Determine this in a better way
POINT_SIZE = 4 + 8 # long, double

unixTime = -> parseInt(new Date().getTime() / 1000)

create = (filename, archives, xFilesFactor, cb) ->

exports.update = update
exports.updateMany = updateMany
exports.info = info
exports.fetch = fetch
