added file and folder parameters