Added support for saving opened file their respective path.