Running the application adds images to the folder but they can't be viewed as they are empty(as in, they are zero byte files in a png format)