Get its size in bytes with size? or size:
File.size?( "myFile.txt" ) # => 594 File.size( "myFile.txt" ) # => 594