updated fileops.get_previews() to be a little more efficient