stat and rename