parsing to a file
got the shit working