use path.join to concatenate base & filename
Merge pull request #4 from ashaffer/patch-1

use path.join to concatenate base & filename