Add exists() and size() methods to File.