new decorator to support data files

* needs more work to get tests passing
was overriding f which pointed to func obj
fixed the failing tests