remove unused import
use `file.relative` for output path
minor style tweaks
cleanup tests
readme tweaks
5.0.0