add new function for add new file without saving in the core data