use Pathname methods instead of File methods
fix bug in relief rendering