Added ability to use files

File variables now named after filenames
Also fixed handling of binary files
Raw/native flags are now respected
Merge pull request #3 from deontologician/0.3.x

Added ability to use files