add file directive