save when found functionality is working with default file name