Implemented file rotation so it will now rotate the photo depending on the EXIF metadata