Changed constant to THEME_BASE in file exists checks for assets