to add the file function new