Make file directive render its button itself
Load templates using text plugin