Added logic for getting files that need preview generation