Fix typo
Use CreateFileA() instead of CreateFile() to stick with the ANSI version of the API even when built with unicode support.
Add setHashFileName to set hash path