added save feature to adding new file