Directive working
Use file slicing