size

val size: Long = 0(source)

File size. Defined only for regular files, for other filesystem entities it will be -1.