Remove unused import

Fixes flake8 error
Don't rely on source filename being relative path

Closes #180