diff --git a/tests/p_file/02_file_mime_image.sh b/tests/p_file/02_file_mime_image.sh
index 57b19c3..3a2f37d 100755
--- a/tests/p_file/02_file_mime_image.sh
+++ b/tests/p_file/02_file_mime_image.sh
@@ -5,15 +5,8 @@
 
 t_Log "Running $0 - checking if file can recognize image mime file type "
 
-case $centos_ver in
-  5|6)
-    pngfile=/usr/lib/anaconda-runtime/boot/syslinux-splash.png
-    ;;
-  *)
-    pngfile=/usr/share/anaconda/boot/syslinux-splash.png
-    ;;
-esac
+pngfile="$(find /usr/share/ -name '*.png' -print -quit)"
 
 file $pngfile -i | grep -q 'image/png'
 
-t_CheckExitStatus $?
\ No newline at end of file
+t_CheckExitStatus $?