removed writing into file