add file and test code policy