Was a little worried that `File.directory?` would fail if `File.exists?` wasn't true. Verified in IRB. Seems to work without checking the existence of the file first.