add filesystem hooks