 
 public extension String {
 
-    //todo rename?
-    public static func readFromFile(_ documentFile: String) -> String? {
+    public static func read(from documentFile: String) -> String? {
 
         let scanner = { (string: String) -> String? in
             return string


public extension Double {

    //todo rename?
    public static func readFromFile(_ documentFile: String) -> Double? {

        let scanner = { (string: String) -> Double? in
            var scannedNumber = 0.0


public extension Bool {

    public static func read(from documentFile: String) -> Bool? {

        return Int.read(from: documentFile).flatMap { $0 != 0 }
    }
}
