Minor cleanup
Open file in read-only mode