if (is_file($check)) {
                    $asset = $check;
                } else {
                    //If the literal path does not resolve, check against the include
                    //paths