Break FileProxy into two funcs so we can be more efficient REST Data res...

...ource.

- FileProxy error codes don't change, and unit tests don't change either.