Fix: missing image file

Because I did not check in media files, and for other reasons it is better to check the existens of files to be opened.