supports file to dir, file to file; updates README and test cases; fixes #2