Open file in read only mode only
Upversion due to fix for read only