file mode
in tests: update expect call and remove the unneeded stub_request call
Merge pull request #45 from agargiulo/file_mode

file mode for generator