getting nowhere with this, parsing file is a bitch