Add method to set file inheritence