no os.path.dirname( path ), because we expect directory as input