Add some default methods of read from file.