added rudimental data extractor from file