change @path = dist in ::File