How to reference assets from editor script?

When I write a postprocessor script that shall change the texture of a mesh that I'm importing, how can I get a reference to an existing texture within an editor script so that I can modify the imported model's texture to the one I have already in my project?

I'm not sure, but give AssetDatabase.LoadAssetAtPath a try