Added PDF support
Added options for file count, size, types, preview size