folder and file working