Add new file function.