Two new methods in files