add method changefile to treatement class