implemented file input

*added getText to Line
*added print to MPFile