File# class ansys.optislang.core.io.File(path: Path | str)# Provides for operating on files. Methods Attributes File.exists Check whether file exists. File.filename Get file name. File.last_modified_seconds Last modified time as a timestamp. File.last_modified_str Last modified time as a datetime. File.path Path to the file. File.size File size in bytes.