Added test for custom File like classes.
Updated README to include note about custom File classes.