Implement File class.