Get file in project using it's path

Hi…

i would like to add a GUISkin to variable by using path to it: Assets/GUI.guiskin

Could someone write a code snippet for me?

Something like this

private var guiSkin: GUISkin=GetFile("Assets/GUI.guiskin");

Use Resources.Load. Your skin must be in the resources folder (read the info in the link).

private var guiSkin : GUISkin;    
guiSkin = Resources.Load("YourGUISkin", GUISkin);