Depends. This code is in my "Common.pm" module which I keep common subroutines I write. So anything under the sun I suppose.
If it helps answer your question, the subroutine takes in a folder and a file. It returns various statuses depending on if the folder is writeable, readable, the combined path is used, not used... you get the idea.