Support folders in PreloadedFile