Added the prepend/append files support.