Implemented reading from file
TODO: implement labels searching