static instead of self for creating instances

in UploadedFile::loadFilesRecursive
fixes #542