Use target and filename only
Merge pull request #16 from metarubygems/feature/refactor-file-api

Use target and filename only