add file reader

crazy stuff :-/
...hope this is better in new API versions...