print functions now accept only one folder