added custom entity file directive