Changed backgroundworker in FileLogger to Thread