Is there a way to open a file in read-only mode, although no such option had been used while saving the file?