Adding new file and modifying existing file