Added check for maximum string length when reading from source file