cloud files api is a piece of crap