require path, delete old ext
formatting