I found in my tests that when the files in the folder are overwritten, the folder type is returned, is this expected?