use get_paths_for instead of __file__ hack