continue tweaking r6 to load more types of files