Added the File.resolvepath method and tests.