Checking if folder was created before saving