implements new file action