Added File.trivial? method and tests.