adding file check for themes