added file handler thread