Implement file contexts substitutions