Fixed the file path to support non-Windows OSes

Also fixed the missing huge file by checking if the file exists.
User preferences ignored
Merge pull request #1 from sami1971/master

Added test support for non-Windows OSes