fixed taskfilereader to handle time