I had some problems to find what happened because pdb don't work with Functional tests, so I couldn't understand right why portal_type=='File' don't work as expected.

In my instance, I tried to add a File by hand and drop into tile list, but the file didn't drag/drop, so I couldn't test this way too.

@hvelarde do you suggest anything different for portal_type=='File' ?