makes file editor callable from plugin