Use File.open instead of open