Implemented first PoC

Nitpicking, but is the parameter order intended? I would expect the `filename` to be always the first parameter as all functions operate on a file. But maybe thats just my gut.