During file upload, I'm creating a subfolder if it doesn't exist

During file upload, I’m creating a subfolder if it doesn’t exist, but the letters doc are pre-pended to the filename. I’d just like a my folder name to be {facility} NOT doc{facility) (example: docMainOffice). How can I do this?

Answered in another thread.

Which ppst?

Which post?