tryOpen
tryOpen(): Boolean;
The tryOpen method of the File class opens the file using all attributes set (for example, its fileName, mode, and shareMode properties) and returns true if the open was successful. If the open operation is not successful, the tryOpen method returns false, without raising an exception.