support a --file-name flag (undocumented)
add filename option
fix jshint styling
Updated to use path.resolve
Merge pull request #1503 from Raynos/file-name

support a --filename flag