remove unused func
bug: wrong handling of relative imports, filepath.join discards ".."