specify file vs. folder