step 8.8 - image file permissions refactor