public void loadFromFile(String filename)
    {
        // Detect FILE Format
        String getExtension=filename.toLowerCase();
        String extension="NONE";
        if (getExtension.contains(".jpg")||getExtension.contains(".jpeg"))
        {
            extension="JPG";
        }
        else if (getExtension.contains(".png"))
        {
            extension="PNG";
        }
        else
        {
            System.out.println("Invalid File Format for File '"+filename+"'");
        }

        // Load the actual Texture
        try
        {
            this.texture=TextureLoader.getTexture(extension,ResourceLoader.getResourceAsStream(filename));
        }
        catch (IOException e)
        {
            System.out.println("File '"+filename+"' could not be found!");
        }
    }