PHP API to manipulate files and folders