File Directory Ruby

File.readable?( "yourFile.txt" ) # => true